package com.youdoneed.friends;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@ComponentScan({"com.youdoneed.friends", "com.youdoneed.*.feign"})
@EnableFeignClients("com.youdoneed.*.feign")
@SpringCloudApplication
public class FriendsApp {

    public static void main(String[] args) {
        SpringApplication.run(FriendsApp.class, args);
    }

}